/**
 * output package name
 */
package com.kingdee.eas.minghua.trademanage.client;

import org.apache.log4j.Logger;

import com.kingdee.bos.metadata.entity.FilterInfo;
import com.kingdee.bos.metadata.entity.FilterItemInfo;
import com.kingdee.bos.metadata.query.util.CompareType;
import com.kingdee.bos.ui.face.CoreUIObject;
import com.kingdee.eas.basedata.master.auxacct.GeneralAsstActTypeInfo;

/**
 * output class name
 */
public class CostProjectFilterUI extends AbstractCostProjectFilterUI
{
    private static final Logger logger = CoreUIObject.getLogger(CostProjectFilterUI.class);
    
    /**
     * output class constructor
     */
    public CostProjectFilterUI() throws Exception
    {
        super();
    }
    public FilterInfo getFilterInfo(){
    	FilterInfo filter=new FilterInfo();
    	if(kDBizPromptBox1.getValue()!=null){
    		String  gcxmID = ((GeneralAsstActTypeInfo)kDBizPromptBox1.getValue()).getId().toString();
    		filter.getFilterItems().add(new FilterItemInfo("projectName.id",gcxmID));
    	}
    	return filter;
    }
    /**
     * output storeFields method
     */
    public void storeFields()
    {
        super.storeFields();
    }

}